<?php

//['middleware' => 'auth']
Route::group(['namespace' => 'Home'],function(){

    //首页路由
	Route::get('/', 'IndexController@index');

	//商品列表页
	Route::resource('cat','CatController');

	//图片上传
	Route::resource('image','ImageController');

});
